Skip to content

Remove serverless public preview warnings - #340

Merged
austin-denoble merged 2 commits into
mainfrom
adenoble/remove-public-preview-warnings
May 8, 2024
Merged

austin-denoble merged 2 commits into
mainfrom
adenoble/remove-public-preview-warnings

Conversation

@austin-denoble

Copy link
Copy Markdown
Member

Problem

The serverless public preview warnings from January are still in documentation. Since we've expanded the number of regions available, we should tweak these callouts.

Solution

Update the "Create serverless index" example in the README. There were also some md auto-formatting bits that got pulled in here.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

CI, run the client reference action after merging to main to update reference docs.

@austin-denoble
austin-denoble requested review from aulorbe and jhamon May 8, 2024 16:20
@austin-denoble
austin-denoble merged commit 92b08b6 into main May 8, 2024
@austin-denoble
austin-denoble deleted the adenoble/remove-public-preview-warnings branch May 8, 2024 16:42

@aulorbe aulorbe left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

mcpaddy added a commit to mcpaddy/pinecone-python-client that referenced this pull request May 22, 2024
* 'main' of github.com:pinecone-io/pinecone-python-client:
  [skip ci] Bump version to v4.1.0
  Bump tqdm from 4.66.1 to 4.66.3 (pinecone-io#344)
  Bump idna from 3.4 to 3.7 (pinecone-io#345)
  Bump jinja2 from 3.1.3 to 3.1.4 (pinecone-io#343)
  Add better error messages for mistaken `from_texts` and `from_documents` (pinecone-io#342)
  Support proxy_url and ssl_ca_certs options for gRPC (pinecone-io#341)
  Remove serverless public preview warnings (pinecone-io#340)
  [skip ci] Bump version to v4.0.0
  Improve upsert throughput by 3x (pinecone-io#334)
  Remove `merge` workflow and update `build-and-publish-docs` workflow to be manually runnable (pinecone-io#335)
  [skip ci] Bump version to v3.2.2
  [Fix] openapi_config deprecation warning incorrectly shown (pinecone-io#327)
  Add grpc unit test run, expand testing of VectorFactory (pinecone-io#326)
  [skip ci] Bump version to v3.2.1
  Allow clients to tag requests with a source_tag (pinecone-io#324)
  [skip ci] Bump version to v3.2.0
  Revise proxy configuration, add integration testing (pinecone-io#325)
  [Fix] Configuring SSL proxy via openapi_config object (pinecone-io#321)
  Update README.md (pinecone-io#323)
NishchayMahor pushed a commit to NishchayMahor/python-sdk-1 that referenced this pull request Sep 22, 2026
…-tests passing on an empty key (pinecone-io#340)

* fix(tooling): one .env resolver for the live suites, and stop install-tests passing on an empty key

`tests/smoke/conftest.py` resolved `.env` from the root of the *current*
working tree, so no run started in a git worktree ever found the root file
and all 17 collectible smoke tests skipped themselves. pinecone-io#295/pinecone-io#308 fixed the
identical line in `tests/integration/conftest.py`; the smoke copy survived
because it was a separate copy.

The resolution and the end-of-run coverage summary now live in
`tests/live_suite.py`, consumed by both suites. Roots are discovered via
`git rev-parse --show-toplevel --git-common-dir` rather than counted off in
`.parent` hops, so a caller's depth in the tree no longer matters, and
`tests/unit/test_live_suite_env.py` builds a real linked worktree and
asserts the behaviour that twice broke unasserted.

The smoke suite now prints the same `.env source:` / ran-vs-collected block
the integration suite got in pinecone-io#308, so a credential-starved run says so
instead of exiting 0 behind a wall of skips.

`secrets.PINECONE_API_KEY` still exists at neither repo nor org level. Two
more jobs consumed it silently: `install-tests` (release-readiness) and
`smoke-tests` (dev-publish, which has been printing "Smoke tests: PASSED"
on a fully-skipped suite every hour). Both now preflight and fail loudly.
Both workflows are schedule/dispatch-only with no `pull_request` trigger, so
no gate is made to depend on a live key. Creating the secret is a human
action and is documented in the workflow comments.

Refs pinecone-io#295

* fix(tooling): dev-publish smoke summary must not blame a missing key for an earlier failure

Bugbot: the preflight step is not `if: always()`, so a failed checkout,
wheel download, or install leaves its outcome as `skipped` — and the
`always()` summary read any non-success outcome as 'no credentials'. That
reintroduces the exact defect this PR removes, just with a different lie.
The summary now matches on the preflight/smoke outcome pair and claims
'no credentials' only when the preflight actually ran and failed.

* docs(tooling): the CI preflights collect 15 smoke tests, not 17

Both jobs pass --ignore for the two pod-collections modules, so the count
the operator reads in the error message should be the one that job would
actually have skipped. Measured: 15 PINECONE_API_KEY skips of 19 collected
with those ignores, 17 of 21 without.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants